* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  user-select: none;
}

body {
  background-image: url("/images/public/位图/空间默认背景.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;

  .big-box {
    width: 800px;
    background-color: #fff;
    border-radius: 5px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 1px 1px 3px rgb(185, 185, 185);
    padding-bottom: 50px;
    margin-bottom: 50px;

    .top-img {
      width: 800px;
      height: 250px;
      margin-top: 70px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      background-image: url("/images/setting/位图/设置页背景.jpg");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;

      .userPortrait {
        width: 130px;
        height: 130px;
        border-radius: 8%;
        z-index: 999;
        position: relative;
        border: 4px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
        margin-top: 200px;
        margin-left: 50px;
      }
    }

    .box-bottom {
      width: 800px;
      height: 1150px;

      .data-box {
        width: 500px;
        margin-left: 235px;

        p {
          font-size: 18px;
          width: 80px;
          text-align: right;
          display: inline-block;
          color: #808080;
        }

        // 文本框 下拉框
        .select-int {
          cursor: pointer;
        }

        input,
        .select-int {
          width: 280px;
          height: 36px;
          font-size: 15px;
          margin-left: 40px;
          padding: 8px;
          border: none;
          outline: none;
          border-radius: 5px;
          color: #333333;
          background-color: #f5f5f5;
        }

        .city {
          width: 138px;
          height: 36px;
          font-size: 15px;
          margin-left: 40px;
          padding: 8px;
          border: none;
          outline: none;
          border-radius: 5px;
          color: #333333;
          background-color: #f5f5f5;
          cursor: pointer;
        }

        input:focus,
        .select-int:focus,
        .autograph:focus,
        .city:focus {
          border: 1px solid #80bdff;
          background-color: #fff;
        }

        .autographTitle {
          position: relative;
          bottom: 42px;
        }

        // 个性签名框
        .autograph {
          width: 280px;
          height: 60px;
          resize: none;
          font-family: "微软雅黑";
          margin-left: 40px;
          font-size: 15px;
          padding: 8px;
          border: none;
          outline: none;
          border-radius: 5px;
          color: #333333;
          background-color: #f5f5f5;
        }

        .setting-btn {
          width: 90px;
          height: 35px;
          border-radius: 3px;
          border: none;
          outline: none;
          background-color: #62aeff;
          color: #fff;
          font-size: 15px;
          cursor: pointer;
          box-shadow: 0 0 1px 0px rgba(0, 0, 0, 0.2),
            0 0 4px 2px rgba(0, 0, 0, 0.1);
        }
      }

      a {
        margin-left: 650px;
        color: #8590a6;
      }
    }
  }
}

// 更换头像的模态框
.backgroundReplaceBox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;

  .replaceBox {
    width: 540px;
    height: 550px;
    border-top: 2px solid #ff8140;
    background-color: #fff;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto;
    z-index: 510;

    .top {
      width: 540px;
      height: 50px;
      border-bottom: 1px solid rgb(212, 212, 212);
      line-height: 50px;

      h3 {
        margin-left: 40px;
      }
    }

    // 中间
    .middle {
      width: 540px;
      height: 400px;
      display: flex;
      justify-content: space-around;
      align-items: center;

      .middle-left {
        width: 370px;
        height: 370px;
        background-color: rgb(240, 239, 239);

        div {
          .headPortrait {
            width: 300px;
            height: 300px;
            margin-top: 35px;
            margin-left: 35px;
            border-radius: 50%;
          }
        }
      }

      .middle-right {
        width: 140px;
        height: 370px;
        background-color: rgb(240, 239, 239);

        // 预览
        .preview {
          color: #a0a0a0;
          text-align: center;
          margin-top: 10px;
          font-weight: 600;
        }

        // 大
        .textBig {
          color: #3a3a3a;
          text-align: center;
          font-size: 18px;
          margin-top: 10px;
        }

        .previewBig {
          width: 110px;
          height: 110px;
          margin: auto;

          .headPortrait {
            width: 110px;
            height: 110px;
            border-radius: 50%;
          }
        }

        // 中
        .textMiddle {
          color: #3a3a3a;
          text-align: center;
          font-size: 15px;
          margin-top: 10px;
        }

        .previewMiddle {
          width: 80px;
          height: 80px;
          margin: auto;

          .headPortrait {
            width: 80px;
            height: 80px;
            border-radius: 50%;
          }
        }

        // 小
        .textSmall {
          color: #3a3a3a;
          text-align: center;
          font-size: 12px;
          margin-top: 10px;
        }

        .previewSmall {
          width: 50px;
          height: 50px;
          margin: auto;

          .headPortrait {
            width: 50px;
            height: 50px;
            border-radius: 50%;
          }
        }
      }
    }

    .fileButton {
      width: 260px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      background-color: #ececec;
      margin: auto;
      cursor: pointer;
      color: #000;
      border-radius: 2px;
    }

    .bottomBox {
      width: 540px;
      height: 70px;
      display: flex;
      justify-content: space-around;
      align-items: center;

      div {

        // 保存按钮
        .preservation {
          width: 82px;
          height: 30px;
          background-color: #ff8140;
          border-radius: 2px;
          font-size: 13px;
          color: #fff;
          outline: none;
          border: none;
          cursor: pointer;
        }

        // 取消按钮
        .cancel {
          width: 82px;
          height: 30px;
          background-color: #a7a7a7;
          border-radius: 2px;
          font-size: 13px;
          color: #fff;
          outline: none;
          border: none;
          cursor: pointer;
        }
      }
    }
  }
}